<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<th:block th:if="${#lists.isEmpty(subjectStudRnkList)}">
    <tr>
        <td colspan="10">
            <div class="noDataTipsBox">
                <p><span class="c-4e fs16">当前条件下暂时没有专业学习榜统计数据~~~</span></p>
            </div>
        </td>
    </tr>
</th:block>
<th:block th:if="!${#lists.isEmpty(subjectStudRnkList)}" th:each="subject,index : ${subjectStudRnkList}">
    <tr>
        <td>
            <div class="media stat-goods-rank__wrap">
                <div class="media-body">
                    <span class="badge badge-danger" th:if="${index.count}==1">1</span>
                    <span class="badge badge-warning" th:if="${index.count}==2">2</span>
                    <span class="badge badge-info" th:if="${index.count}==3">3</span>
                    <span class="badge badge-primary" th:if="${index.count}==4">4</span>
                    <span class="badge badge-success" th:if="${index.count} >= 5" th:text="${index.count}"></span>
                    <span class="fs14 c-master">
                        <th:block th:each="subject, index : ${subject['subjectList']}" th:text="${index.index < index.size - 1} ? ${subject['subjectName']} + '/' : ${subject['subjectName']}">
                        </th:block>
                    </span>
                </div>
            </div>
        </td>
        <td class="text-center"><b class="line" th:text="${subject['uvCount']}==0?'--':${subject['uvCount']}">--</b></td>
    </tr>
</th:block>
</html>